﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="ImageViewerCL.PolaroidImage"
	x:Name="UserControl"
    Background="Transparent"
	d:DesignWidth="400" d:DesignHeight="480" Height="480" Width="400">
    
	<Grid x:Name="LayoutRoot" Focusable="True">
		<Rectangle Margin="8,8,8,8" Fill="#FFFFFFFF" Stroke="#FF000000" x:Name="bg" StrokeThickness="2"/>
		<Image Margin="16,16,16,64" x:Name="content"/>
        <Thumb Background="Transparent" Opacity="0.0" Width="400" Height="480" x:Name="DragThumb" DragDelta="DragThumb_DragDelta" DragCompleted="DragThumb_DragCompleted" />
        <TextBox x:Name="CaptionText" BorderBrush="Transparent" Margin="16,0,16,16" VerticalAlignment="Bottom" Text="Caption text" FontFamily="Comic Sans MS"
                 MouseDoubleClick="CaptionText_MouseDoubleClick"
                 KeyDown="CaptionText_KeyDown"
                 LostFocus="CaptionText_LostFocus"
                 IsReadOnly="True" FontWeight="Bold"
                 TextAlignment="Center"
                 FontSize="18"/>
	</Grid>
</UserControl>